package com.mzpai.product.vo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="秒杀商品保存")
public class StoreSeckillVo implements Serializable{

	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="主键")
	private Integer Id;
	@ApiModelProperty(value="商品主键")
	private Integer productId;
	@ApiModelProperty(value="商品名称")
    private String productName;
	@ApiModelProperty(value="商品图片")
    private String image;
	@ApiModelProperty(value="规格表主键id")
    private Integer attrValueId;
	@ApiModelProperty(value="门店ID")
	private Integer storeId;
	@ApiModelProperty(value="秒杀开始时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date startTime;
	@ApiModelProperty(value="秒杀结束时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date stopTime;
	@ApiModelProperty(value="商品价格")
	private BigDecimal price;
	@ApiModelProperty(value="秒杀价格")
	private BigDecimal seckillPrice;
	@ApiModelProperty(value="每人限购数")
	private Integer personLimitNum;
	@ApiModelProperty(value="秒杀商品数量")
	private Integer stock;
	@ApiModelProperty(value="已秒杀商品数量")
	private Integer lockStockNum;
	@ApiModelProperty(value="销量")
	private Integer sales;
	@ApiModelProperty(value="秒杀商品开始状态 1:待开始,2:进行中,3: 已结束")
    private String status;
	@ApiModelProperty(value="商品规格中唯一值")
    private String unique;
	@ApiModelProperty(value="是否想要过 1:否;2:是")
    private String wantFlage;
	@ApiModelProperty(value="购买人数")
    private Integer userCount;
	@ApiModelProperty(value="购买人员头像，多个有,隔开")
    private String userImg;
	
	public Integer getProductId() {
		return productId;
	}
	public String getImage() {
		return image;
	}
	public Integer getAttrValueId() {
		return attrValueId;
	}
	public Integer getStoreId() {
		return storeId;
	}
	public void setProductId(Integer productId) {
		this.productId = productId;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public void setAttrValueId(Integer attrValueId) {
		this.attrValueId = attrValueId;
	}
	public void setStoreId(Integer storeId) {
		this.storeId = storeId;
	}
	public Date getStartTime() {
		return startTime;
	}
	public BigDecimal getSeckillPrice() {
		return seckillPrice;
	}
	public Integer getPersonLimitNum() {
		return personLimitNum;
	}
	public Integer getStock() {
		return stock;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public void setSeckillPrice(BigDecimal seckillPrice) {
		this.seckillPrice = seckillPrice;
	}
	public void setPersonLimitNum(Integer personLimitNum) {
		this.personLimitNum = personLimitNum;
	}
	public void setStock(Integer stock) {
		this.stock = stock;
	}
	public Date getStopTime() {
		return stopTime;
	}
	public void setStopTime(Date stopTime) {
		this.stopTime = stopTime;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public Integer getLockStockNum() {
		return lockStockNum;
	}
	public void setLockStockNum(Integer lockStockNum) {
		this.lockStockNum = lockStockNum;
	}
	public Integer getId() {
		return Id;
	}
	public void setId(Integer id) {
		Id = id;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Integer getSales() {
		return sales;
	}
	public void setSales(Integer sales) {
		this.sales = sales;
	}
	public String getUnique() {
		return unique;
	}
	public void setUnique(String unique) {
		this.unique = unique;
	}
	public String getWantFlage() {
		return wantFlage;
	}
	public void setWantFlage(String wantFlage) {
		this.wantFlage = wantFlage;
	}
	public Integer getUserCount() {
		return userCount;
	}
	public void setUserCount(Integer userCount) {
		this.userCount = userCount;
	}
	public String getUserImg() {
		return userImg;
	}
	public void setUserImg(String userImg) {
		this.userImg = userImg;
	}
	
	
}
